package LibraryManagementSystem.impl;

import LibraryManagementSystem.IOperation;
import LibraryManagementSystem.book.Bookcase;

/**
 * @author : niu niu
 * @version : 1.0.0
 * @date : 2022/10/22 8:26
 */
public class ReturnOperation implements IOperation {
    @Override
    public void work(Bookcase bookcase) {
        System.out.println("您正在进行还书操作");
        System.out.println("请输入要归还的书籍名称:");
        String bookName = scanner.next();
        bookcase.returnBook(bookName);
    }
}
